package com.p.lib.widget.fontview.checkbox;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.CheckBox;

import com.p.lib.widget.fontview.textview.FontTextView;


/**
 * Created by Administrator on 2018/8/1 0001.
 */

public class FontCheckBox extends CheckBox {

    public FontCheckBox(Context context) {
        super(context);
        init();
    }

    public FontCheckBox(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public FontCheckBox(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    void init(){
        this.setTypeface(FontTextView.getYuanti(getContext()));
    }
}
